SureCart\WordPress\Templates\BlockTemplatesService S

Total Complexity 45
Dependencies 3
Dependents 1
Total lines 318
Lines of code 176
Logical lines of code 96
Comment lines 100
Methods 9
Properties 1

Methods 9

Method Rating Maintainability Complexity Lines of code
addBlockTemplates()
B
40 19 58
getBlockTemplatesFromSureCart()
S
51 7 26
setTemplateName()
S
54 5 23
getBlockFileTemplate()
S
54 5 21
getBlockTemplatesFromDB()
S
52 3 25
blockTemplateIsAvailable()
S
67 3 7
__construct()
S
69 1 7
bootstrap()
S
74 1 4
getBlockTemplates()
S
72 1 5